package com.zzuli.dcxt.service.impl;

import com.zzuli.dcxt.dao.CategoryMapper;
import com.zzuli.dcxt.entiy.Category;
import com.zzuli.dcxt.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    private CategoryMapper categoryMapper;
    @Override
    public List<Category> selectAll() {
        return categoryMapper.selectAll();
    }
}
